﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrlMesageBox.ascx.cs" Inherits="Rendiciones.Web.usercontrols.ctrlMesageBox" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Button ID="btnBox" runat="server" Style="display: none" />
<asp:ModalPopupExtender ID="mpeBox"  TargetControlID="btnBox" PopupControlID="upBox" BackgroundCssClass="vs12_light_opacity" runat="server"/>
<asp:UpdatePanel runat="server" ID="upBox">
    <ContentTemplate>
        <div class="vs12_light_form vs12_light_form_modal" style="width:400px; display:none;" runat="server" id="pnlBox">
            <div class="title">
                <p><asp:Label runat="server" ID="lblTitulo" Text="Advertencia"></asp:Label></p>
            </div>
            <div class="content">
                <table>
                    <tr>
                        <td>
                            <p>
                                <img src="~/img/icons/Mensaje/icoExclamacion.png" alt="" runat="server" ID="imgIcono"/>
                                <asp:Label runat="server" ID="lblMensaje" Text=""></asp:Label>
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td class="center">
                            <asp:Button runat="server" ID="btnAceptar" CssClass="boton" Text="Aceptar" OnClick="BtnAceptarClick" />
                            <asp:HiddenField runat="server" ID="hfRedirect" Value=""/>
                            <asp:HiddenField runat="server" ID="hfRefresh" Value=""/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>